﻿<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/philadmin/Philadmin.Master"
    CodeBehind="EditCountry.aspx.vb" Inherits="Phila.EditCountry" %>
<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="asp" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<h1>Edit Country</h1>
    <table width="100%" align="center" cellpadding="2" cellspacing="2">
        <tr>
            <td colspan="2" align="center">
                <asp:Label ID="lblMsg" runat="server" ForeColor="Red" Font-Bold="True"></asp:Label>
            </td>
        </tr>
        <tr>
            <td width="180px">
                <b>Name</b>
            </td>
            <td>
                <asp:TextBox ID="txtName" runat="server" MaxLength="500" CssClass="form-text width300"></asp:TextBox>
                <span class="red">*</span>
                <asp:RequiredFieldValidator ID="reqName" runat="server" ControlToValidate="txtName"
                    Display="Dynamic" ErrorMessage="&lt;br /&gt;Enter Category  Name" ValidationGroup="submit" CssClass="red"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td width="180px">
                <b>Overview</b>
            </td>
            <td>
                <asp:TextBox ID="txtOverview" runat="server" Rows="5" TextMode="MultiLine" CssClass="form-text width300" MaxLength="300"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td width="180px">
                <b>Thumbnail</b>
            </td>
            <td>
                <asp:FileUpload ID="fileUpload" runat="server" />
                <asp:CustomValidator ID="CustomValidator1" runat="server" ClientValidationFunction="ValidateFileUpload"
                    ValidationGroup="icon" ErrorMessage="Only .jpg,.gif Files Accept" Text=" *" ControlToValidate="fileUpload"
                    Display="Dynamic" SetFocusOnError="true" CssClass="red"></asp:CustomValidator>
                <asp:Literal ID="ltrImg" runat="server"></asp:Literal>
            </td>
        </tr>
        <tr>
            <td width="180px">
                <b>View Order</b>
            </td>
            <td>
                <asp:TextBox ID="txtVieworder" runat="server" MaxLength="5" CssClass="form-text width80">0</asp:TextBox>
                <asp:RegularExpressionValidator ID="regVOrder" runat="server" ControlToValidate="txtVieworder"
                    ErrorMessage="&lt;br /&gt;Enter only Numeric value" ValidationExpression="\d*[0-9]"
                    ValidationGroup="submit" Display="Dynamic" CssClass="red"></asp:RegularExpressionValidator>
            </td>
        </tr>
        <tr>
            <td width="180px">
                &nbsp;
            </td>
            <td>
                &nbsp;
            </td>
        </tr>
        <tr>
            <td width="180px">
                &nbsp;
            </td>
            <td>
                <asp:Button ID="btnSave" runat="server" Text="Save" ValidationGroup="submit" CssClass="form-button" />&nbsp;&nbsp;
                <asp:Button ID="btnCancel" runat="server" Text="Cancel" CssClass="form-button" />
            </td>
        </tr>
        <tr>
            <td width="180px">
                &nbsp;
            </td>
            <td>
                &nbsp;
            </td>
        </tr>
    </table>
</asp:Content>
